Azure Communication Service Call Automation APIs (preview:2025-03-30)

2025/05/15 • 33 new methods

CreateCall (new)
Description Create an outbound call.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections
{
createCallRequest:
{
targets:
[
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
]
,
sourceCallerIdNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
sourceDisplayName: string ,
source:
{
id: string ,
}
,
operationContext: string ,
callbackUri: string ,
callIntelligenceOptions:
{
cognitiveServicesEndpoint: string ,
}
,
mediaStreamingOptions:
{
transportUrl: string ,
transportType: enum ,
contentType: enum ,
audioChannelType: enum ,
startMediaStreaming: boolean ,
enableBidirectional: boolean ,
audioFormat: enum ,
}
,
transcriptionOptions:
{
transportUrl: string ,
transportType: enum ,
locale: string ,
speechRecognitionModelEndpointId: string ,
startTranscription: boolean ,
enableIntermediateResults: boolean ,
}
,
teamsAppSource:
{
appId: string ,
cloud: enum ,
}
,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (201)

{
callConnectionId: string ,
serverCallId: string ,
targets:
[
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
]
,
callConnectionState: enum ,
callbackUri: string ,
sourceCallerIdNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
sourceDisplayName: string ,
source:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
correlationId: string ,
answeredBy:
{
id: string ,
}
,
mediaStreamingSubscription:
{
id: string ,
state: enum ,
subscribedContentTypes:
[
string ,
]
,
}
,
transcriptionSubscription:
{
id: string ,
state: enum ,
subscribedResultTypes:
[
string ,
]
,
}
,
answeredFor:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
}
AnswerCall (new)
Description Answer a call using the IncomingCallContext from Event Grid.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections:answer
{
answerCallRequest:
{
incomingCallContext: string ,
callbackUri: string ,
operationContext: string ,
callIntelligenceOptions:
{
cognitiveServicesEndpoint: string ,
}
,
answeredBy:
{
id: string ,
}
,
mediaStreamingOptions:
{
transportUrl: string ,
transportType: enum ,
contentType: enum ,
audioChannelType: enum ,
startMediaStreaming: boolean ,
enableBidirectional: boolean ,
audioFormat: enum ,
}
,
transcriptionOptions:
{
transportUrl: string ,
transportType: enum ,
locale: string ,
speechRecognitionModelEndpointId: string ,
startTranscription: boolean ,
enableIntermediateResults: boolean ,
}
,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{
callConnectionId: string ,
serverCallId: string ,
targets:
[
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
]
,
callConnectionState: enum ,
callbackUri: string ,
sourceCallerIdNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
sourceDisplayName: string ,
source:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
correlationId: string ,
answeredBy:
{
id: string ,
}
,
mediaStreamingSubscription:
{
id: string ,
state: enum ,
subscribedContentTypes:
[
string ,
]
,
}
,
transcriptionSubscription:
{
id: string ,
state: enum ,
subscribedResultTypes:
[
string ,
]
,
}
,
answeredFor:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
}
RedirectCall (new)
Description Redirect a call.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections:redirect
{
redirectCallRequest:
{
incomingCallContext: string ,
target:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (204)

{}
RejectCall (new)
Description Reject the call.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections:reject
{
rejectCallRequest:
{
incomingCallContext: string ,
callRejectReason: enum ,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (204)

{}
Connect (new)
Description Create a connection to a CallLocator.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections:connect
{
connectRequest:
{
callLocator:
{
groupCallId: string ,
serverCallId: string ,
roomId: string ,
kind: enum ,
}
,
callbackUri: string ,
operationContext: string ,
callIntelligenceOptions:
{
cognitiveServicesEndpoint: string ,
}
,
mediaStreamingOptions:
{
transportUrl: string ,
transportType: enum ,
contentType: enum ,
audioChannelType: enum ,
startMediaStreaming: boolean ,
enableBidirectional: boolean ,
audioFormat: enum ,
}
,
transcriptionOptions:
{
transportUrl: string ,
transportType: enum ,
locale: string ,
speechRecognitionModelEndpointId: string ,
startTranscription: boolean ,
enableIntermediateResults: boolean ,
}
,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{
callConnectionId: string ,
serverCallId: string ,
targets:
[
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
]
,
callConnectionState: enum ,
callbackUri: string ,
sourceCallerIdNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
sourceDisplayName: string ,
source:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
correlationId: string ,
answeredBy:
{
id: string ,
}
,
mediaStreamingSubscription:
{
id: string ,
state: enum ,
subscribedContentTypes:
[
string ,
]
,
}
,
transcriptionSubscription:
{
id: string ,
state: enum ,
subscribedResultTypes:
[
string ,
]
,
}
,
answeredFor:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
}
CallConnection_GetCall (new)
Description Get the detail properties of an ongoing call.
Reference Link ¶

⚼ Request

GET:  /calling/callConnections/{callConnectionId}
{
callConnectionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{
callConnectionId: string ,
serverCallId: string ,
targets:
[
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
]
,
callConnectionState: enum ,
callbackUri: string ,
sourceCallerIdNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
sourceDisplayName: string ,
source:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
correlationId: string ,
answeredBy:
{
id: string ,
}
,
mediaStreamingSubscription:
{
id: string ,
state: enum ,
subscribedContentTypes:
[
string ,
]
,
}
,
transcriptionSubscription:
{
id: string ,
state: enum ,
subscribedResultTypes:
[
string ,
]
,
}
,
answeredFor:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
}
CallConnection_HangupCall (new)
Description Hang up call automation service from the call. This will make call automation service leave the call, but does not terminate if there are more than 1 caller in the call.
Reference Link ¶

⚼ Request

DELETE:  /calling/callConnections/{callConnectionId}
{
callConnectionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (204)

{}
CallConnection_TerminateCall (new)
Description Terminate a call using CallConnectionId.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:terminate
{
callConnectionId: string ,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (204)

{}
CallConnection_TransferToParticipant (new)
Description Transfer the call to a participant.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:transferToParticipant
{
callConnectionId: string ,
transferToParticipantRequest:
{
targetParticipant:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
operationContext: string ,
transferee:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
operationCallbackUri: string ,
customCallingContext:
{
voipHeaders: object ,
sipHeaders: object ,
}
,
sourceCallerIdNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{
operationContext: string ,
}
CallMedia_Play (new)
Description Plays audio to participants in the call.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:play
{
callConnectionId: string ,
playRequest:
{
playSources:
[
{
kind: enum ,
playSourceCacheId: string ,
file:
{
uri: string ,
}
,
text:
{
text: string ,
sourceLocale: string ,
voiceKind: enum ,
voiceName: string ,
customVoiceEndpointId: string ,
}
,
ssml:
{
ssmlText: string ,
customVoiceEndpointId: string ,
}
,
}
,
]
,
playTo:
[
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
]
,
interruptCallMediaOperation: boolean ,
playOptions:
{
loop: boolean ,
}
,
operationContext: string ,
operationCallbackUri: string ,
}
,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{}
CallMedia_StartTranscription (new)
Description Starts transcription in the call
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:startTranscription
{
callConnectionId: string ,
startTranscriptionRequest:
{
locale: string ,
speechRecognitionModelEndpointId: string ,
operationContext: string ,
}
,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{}
CallMedia_StopTranscription (new)
Description Stops transcription in the call.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:stopTranscription
{
callConnectionId: string ,
stopTranscriptionRequest:
{
operationContext: string ,
}
,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{}
CallMedia_UpdateTranscription (new)
Description API to change transcription language.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:updateTranscription
{
callConnectionId: string ,
updateTranscriptionRequest:
{
locale: string ,
speechRecognitionModelEndpointId: string ,
operationContext: string ,
}
,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{}
CallMedia_CancelAllMediaOperations (new)
Description Cancel all media operations in a call.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:cancelAllMediaOperations
{
callConnectionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{}
CallMedia_Recognize (new)
Description Recognize media from call.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:recognize
{
callConnectionId: string ,
recognizeRequest:
{
recognizeInputType: enum ,
playPrompt:
{
kind: enum ,
playSourceCacheId: string ,
file:
{
uri: string ,
}
,
text:
{
text: string ,
sourceLocale: string ,
voiceKind: enum ,
voiceName: string ,
customVoiceEndpointId: string ,
}
,
ssml:
{
ssmlText: string ,
customVoiceEndpointId: string ,
}
,
}
,
playPrompts:
[
{
kind: enum ,
playSourceCacheId: string ,
file:
{
uri: string ,
}
,
text:
{
text: string ,
sourceLocale: string ,
voiceKind: enum ,
voiceName: string ,
customVoiceEndpointId: string ,
}
,
ssml:
{
ssmlText: string ,
customVoiceEndpointId: string ,
}
,
}
,
]
,
interruptCallMediaOperation: boolean ,
recognizeOptions:
{
interruptPrompt: boolean ,
initialSilenceTimeoutInSeconds: integer ,
targetParticipant:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
speechLanguage: string ,
speechRecognitionModelEndpointId: string ,
dtmfOptions:
{
interToneTimeoutInSeconds: integer ,
maxTonesToCollect: integer ,
stopTones:
[
string ,
]
,
}
,
choices:
[
{
label: string ,
phrases:
[
string ,
]
,
tone: enum ,
}
,
]
,
speechOptions:
{
endSilenceTimeoutInMs: integer ,
}
,
}
,
operationContext: string ,
operationCallbackUri: string ,
}
,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{}
CallMedia_StartContinuousDtmfRecognition (new)
Description Start continuous Dtmf recognition by subscribing to tones.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:startContinuousDtmfRecognition
{
callConnectionId: string ,
continuousDtmfRecognitionRequest:
{
targetParticipant:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
operationContext: string ,
operationCallbackUri: string ,
}
,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{}
CallMedia_StopContinuousDtmfRecognition (new)
Description Stop continuous Dtmf recognition by unsubscribing to tones.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:stopContinuousDtmfRecognition
{
callConnectionId: string ,
continuousDtmfRecognitionRequest:
{
targetParticipant:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
operationContext: string ,
operationCallbackUri: string ,
}
,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{}
CallMedia_SendDtmfTones (new)
Description Send dtmf tones.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:sendDtmfTones
{
callConnectionId: string ,
sendDtmfTonesRequest:
{
tones:
[
string ,
]
,
targetParticipant:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
operationContext: string ,
operationCallbackUri: string ,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{
operationContext: string ,
}
CallMedia_Hold (new)
Description Hold participant from the call using identifier.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:hold
{
callConnectionId: string ,
holdRequest:
{
targetParticipant:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
playSourceInfo:
{
kind: enum ,
playSourceCacheId: string ,
file:
{
uri: string ,
}
,
text:
{
text: string ,
sourceLocale: string ,
voiceKind: enum ,
voiceName: string ,
customVoiceEndpointId: string ,
}
,
ssml:
{
ssmlText: string ,
customVoiceEndpointId: string ,
}
,
}
,
operationContext: string ,
operationCallbackUri: string ,
}
,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{}
CallMedia_Unhold (new)
Description Unhold participants from the call using identifier.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:unhold
{
callConnectionId: string ,
unholdRequest:
{
targetParticipant:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
operationContext: string ,
}
,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{}
CallMedia_StartMediaStreaming (new)
Description Starts media streaming in the call.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:startMediaStreaming
{
callConnectionId: string ,
startMediaStreamingRequest:
{
operationCallbackUri: string ,
operationContext: string ,
}
,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{}
CallMedia_StopMediaStreaming (new)
Description Stops media streaming in the call.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}:stopMediaStreaming
{
callConnectionId: string ,
stopMediaStreamingRequest:
{
operationCallbackUri: string ,
operationContext: string ,
}
,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{}
CallConnection_GetParticipants (new)
Description Get participants from a call. Recording and transcription bots are omitted from this list.
Reference Link ¶

⚼ Request

GET:  /calling/callConnections/{callConnectionId}/participants
{
callConnectionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{
value:
[
{
identifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
isMuted: boolean ,
isOnHold: boolean ,
}
,
]
,
nextLink: string ,
}
CallConnection_AddParticipant (new)
Description Add a participant to the call.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}/participants:add
{
callConnectionId: string ,
addParticipantRequest:
{
sourceCallerIdNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
sourceDisplayName: string ,
participantToAdd:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
invitationTimeoutInSeconds: integer ,
operationContext: string ,
operationCallbackUri: string ,
customCallingContext:
{
voipHeaders: object ,
sipHeaders: object ,
}
,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{
participant:
{
identifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
isMuted: boolean ,
isOnHold: boolean ,
}
,
operationContext: string ,
invitationId: string ,
}
CallConnection_RemoveParticipant (new)
Description Remove a participant from the call using identifier.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}/participants:remove
{
callConnectionId: string ,
removeParticipantRequest:
{
participantToRemove:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
operationContext: string ,
operationCallbackUri: string ,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{
operationContext: string ,
}
CallConnection_Mute (new)
Description Mute participants from the call using identifier.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}/participants:mute
{
callConnectionId: string ,
muteParticipantsRequest:
{
targetParticipants:
[
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
]
,
operationContext: string ,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{
operationContext: string ,
}
CallConnection_CancelAddParticipant (new)
Description Cancel add participant operation.
Reference Link ¶

⚼ Request

POST:  /calling/callConnections/{callConnectionId}/participants:cancelAddParticipant
{
callConnectionId: string ,
cancelAddParticipantRequest:
{
invitationId: string ,
operationContext: string ,
operationCallbackUri: string ,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{
invitationId: string ,
operationContext: string ,
}
CallConnection_GetParticipant (new)
Description Get participant from a call.
Reference Link ¶

⚼ Request

GET:  /calling/callConnections/{callConnectionId}/participants/{participantRawId}
{
callConnectionId: string ,
participantRawId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{
identifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
isMuted: boolean ,
isOnHold: boolean ,
}
CallRecording_StartRecording (new)
Description Start recording the call.
Reference Link ¶

⚼ Request

POST:  /calling/recordings
{
startCallRecording:
{
callLocator:
{
groupCallId: string ,
serverCallId: string ,
roomId: string ,
kind: enum ,
}
,
callConnectionId: string ,
recordingStateCallbackUri: string ,
recordingContentType: enum ,
recordingChannelType: enum ,
recordingFormatType: enum ,
audioChannelParticipantOrdering:
[
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
]
,
channelAffinity:
[
{
channel: integer ,
participant:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
}
,
]
,
pauseOnStart: boolean ,
externalStorage:
{
recordingStorageKind: enum ,
recordingDestinationContainerUrl: string ,
}
,
}
,
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{
recordingId: string ,
recordingState: enum ,
recordingKind: enum ,
}

⚐ Response (202)

{
recordingId: string ,
recordingState: enum ,
recordingKind: enum ,
}
CallRecording_GetRecordingProperties (new)
Description Get call recording properties.
Reference Link ¶

⚼ Request

GET:  /calling/recordings/{recordingId}
{
recordingId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (200)

{
recordingId: string ,
recordingState: enum ,
recordingKind: enum ,
}
CallRecording_StopRecording (new)
Description Stop recording the call.
Reference Link ¶

⚼ Request

DELETE:  /calling/recordings/{recordingId}
{
recordingId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (204)

{}
CallRecording_PauseRecording (new)
Description Pause recording the call.
Reference Link ¶

⚼ Request

POST:  /calling/recordings/{recordingId}:pause
{
recordingId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{}
CallRecording_ResumeRecording (new)
Description Resume recording the call.
Reference Link ¶

⚼ Request

POST:  /calling/recordings/{recordingId}:resume
{
recordingId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (202)

{}